package com.kinoshita.common.result;


import java.util.List;

public class PageDO<T> implements java.io.Serializable {

    private List<T> data;

    /**
     * 当前页
     */
    private long currentPage;

    /**
     * 每页显示的结果数
     */
    private long pageSize;

    /**
     * 总页数
     */
    private long pageCount;

    /**
     * 总结果数
     */
    private long rowCount;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public long getPageCount() {
        return pageCount;
    }

    public void setPageCount(long pageCount) {
        this.pageCount = pageCount;
    }

    public long getRowCount() {
        return rowCount;
    }

    public void setRowCount(long rowCount) {
        this.rowCount = rowCount;
    }
}

